package com.lvyq.myplayer.ui.fragment

import com.lvyq.myplayer.adapter.YueDanAdapter
import com.lvyq.myplayer.base.BaseListAdapter
import com.lvyq.myplayer.base.BaseListFragment
import com.lvyq.myplayer.base.BaseListPresenter
import com.lvyq.myplayer.model.yudan.YueDanItemBean
import com.lvyq.myplayer.model.yudan.YueDanItemBeans
import com.lvyq.myplayer.presenter.impl.YueDanPresenterImpl
import com.lvyq.myplayer.widget.YueDanItemView

/**
 * 文件描述：YueDanFragment
 * 作者：lvyq
 * 创建时间：2025-02-24
 * 修改时间：2025-02-24
 */
class YueDanFragment: BaseListFragment<YueDanItemBean, YueDanItemBeans, YueDanItemView>() {
    override fun getSpecialAdapter(): BaseListAdapter<YueDanItemBeans, YueDanItemView> {
       return YueDanAdapter()
    }

    override fun getSpecialPresenter(): BaseListPresenter {
        return YueDanPresenterImpl(this)
    }

    override fun getList(response: YueDanItemBean): List<YueDanItemBeans> {
        return response.rows
    }

}